package com.ruoyi.system.service;

/**
 * @author Administrator
 */
public interface FaceService {

    /**
     * 人脸特征值检测
     * @param byte[] image
     * @return byte[] feature
     */
    byte[] faceFeature(byte[] image);

    /**
     * 人脸比对
     * @param byte[] feature1
     * @param byte[] feature2
     * @return float score
     */
    float faceComparison(byte[] feature1, byte[] feature2) throws Exception;

}
